package cn.touna.jss.common.properties.disconf;

import com.baidu.disconf.client.common.annotations.DisconfFile;
import com.baidu.disconf.client.common.annotations.DisconfFileItem;
import org.springframework.stereotype.Component;

/**
 * 互金协会配置
 * Created by wuwc on 2017/7/13.
 */
@Component
@DisconfFile(targetDirPath = "disconf", filename = "nifa.properties")
public class NifaProperties {

    private String sbankcode;
    private String secretKey;
    private String infoUrl;
    private String taskUrl;
    private String asynlistUrl;

    @DisconfFileItem(name = "nifa.sbankcode", associateField = "sbankcode")
    public String getSbankcode() {
        return sbankcode;
    }

    public void setSbankcode(String sbankcode) {
        this.sbankcode = sbankcode;
    }

    @DisconfFileItem(name = "nifa.infoUrl", associateField = "infoUrl")
    public String getInfoUrl() {
        return infoUrl;
    }

    public void setInfoUrl(String infoUrl) {
        this.infoUrl = infoUrl;
    }

    @DisconfFileItem(name = "nifa.taskUrl", associateField = "taskUrl")
    public String getTaskUrl() {
        return taskUrl;
    }

    public void setTaskUrl(String taskUrl) {
        this.taskUrl = taskUrl;
    }

    @DisconfFileItem(name = "nifa.asynlistUrl", associateField = "asynlistUrl")
    public String getAsynlistUrl() {
        return asynlistUrl;
    }

    public void setAsynlistUrl(String asynlistUrl) {
        this.asynlistUrl = asynlistUrl;
    }

    @DisconfFileItem(name = "nifa.secretKey", associateField = "secretKey")
    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }


}
